package com.liuhung.ash.security.entity;

import com.liuhung.base.entity.BaseEntity;

import java.util.List;
/**
 * 
 * <br>
 * <b>功能：</b>CategoryEntity<br>
 */
public class Category extends BaseEntity {
	
		/**
	 * 
	 */
	private static final long serialVersionUID = 4727035243818878348L;
	private java.lang.Integer id;//   主键	private java.lang.String name;//   类目名称	private java.lang.String code;//   类目代码	private java.lang.Integer vieworder;//   显示顺序的序号	private java.lang.Integer pid;//   父类id	private Category parent;
	private List<Category> children;
	public java.lang.Integer getId() {	    return this.id;	}	public void setId(java.lang.Integer id) {	    this.id=id;	}	public java.lang.String getName() {	    return this.name;	}	public void setName(java.lang.String name) {	    this.name=name;	}	public java.lang.String getCode() {	    return this.code;	}	public void setCode(java.lang.String code) {	    this.code=code;	}		public java.lang.Integer getVieworder() {	    return this.vieworder;	}	public void setVieworder(java.lang.Integer vieworder) {	    this.vieworder=vieworder;	}	public java.lang.Integer getPid() {	    return this.pid;	}	public void setPid(java.lang.Integer pid) {	    this.pid=pid;	}	
	public Category getParent() {
		return parent;
	}
	public void setParent(Category parent) {
		this.parent = parent;
	}
	public List<Category> getChildren() {
		return children;
	}
	public void setChildren(List<Category> children) {
		this.children = children;
	}
	
	
	
	
}

